<script setup>
import { useRouter } from 'vue-router';

const router = useRouter()

const toHome = () => {
    router.replace({ name: 'home' })
}

</script>

<template>
    <div class="notFound">
        <div>你来到了不存在的地方！！</div>
        <div class="notFound-img">
            <img src="@/assets/images/notfound.png" alt="">
        </div>
        <div class="notFound-btn">
            <el-button color="#626aef" :dark="isDark" @click="toHome">返回首页</el-button>
        </div>
    </div>
</template>

<style lang="scss" scoped>
@import url('./notFound.scss');
</style>